﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Myu.EventBus.Core
{
    /// <summary>
    /// 事件处理接口
    /// </summary>
    public interface IEventHandler<TEvent> where TEvent: IEvent
    {

        void Handle(TEvent evt);

    }
}
